package com.capgemini.teamtwo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("SYS_USER_ACCOUNT")
public class UserEntity {

    // 主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    // 用户账号
    @TableField("USERNAME")
    private String username;
    // 用户密码
    @TableField("PASSWORD")
    private String password;
    // 盐值
    @TableField("SALT")
    private String salt;
    // 用户姓名
    @TableField("REALNAME")
    private String realname;
    // 项目id
    @TableField("USER_JOB")
    private String userJob;
    // 职级
    @TableField("RANK")
    private String rank;
    // 状态
    @TableField("STATUS")
    private String status;


}
